package com.hyq.state.currency;
/**
* @ClassName: Client 
* @Description: 客户端
* @author Janus
 */
public class Client {
	public static void main(String[] args) {
		//定义环境角色
		Context context = new Context();
		//初始状态
		context.setCurrentState(new ConcreteState1());
		//执行并变更状态
		context.handle1();
		context.handle2();
	}
}
